public class mInterface{
    public static void main(String[] args) {
        interImpl mInterface = new interImpl();
        mInterface.show();
        mInterface.method();
    }
}

class interImpl implements mInterface2{
    public void show(){
        System.out.println("show实现");

    }

    @Override
    public void method() {
        System.out.println("method实现");
    }
}

 interface mInterface2 {
    public abstract void show();
    public abstract void method(); //
}
